package com.answer.service;
import com.answer.model.dto.app.*;
import com.answer.model.dto.user.UserUpdateDTO;
import com.answer.model.entity.App;

import com.answer.model.reslut.ResultPage;
import com.answer.model.vo.AppVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
* @author haoshuai
* @description 针对表【app(应用)】的数据库操作Service
* @createDate 2024-06-29 15:23:08
*/
public interface AppService extends IService<App> {


    Boolean addApp(AppAddDTO appaVo);


    ResultPage<AppVo> queryAll(AppQueryDTO appQueryDTO);


    AppVo queryOneById(Long id);


    Boolean updateApp(AppUpdateDTO appUpdateDTO);

    Boolean editApp(AppEditDTO appUpdateDTO);

    Boolean reviewApp(AppReviewDTO appReviewDTO);

    List<HashMap<String, String>> getAppIdAndNameMap();
}
